package com.skivingcloud.report.dto;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class DataSetDto implements Serializable {
    private String id;
    /** 数据集编码 */
    private String setCode;

    /** 数据集名称 */
    private String setName;

    /** 数据集描述 */
    private String setDesc;

    /** 数据集类型 */
    private String setType;


    /** 数据源编码 */
    private String sourceCode;

    /** 动态查询sql或者接口中的请求体 */
    private String dynSentence;

    /** 结果案例 */
    private String caseResult;

    /** 0--已禁用 1--已启用  DIC_NAME=ENABLE_FLAG */
    private String enableFlag;

    /** 0--未删除 1--已删除 DIC_NAME=DELETE_FLAG */
    private String deleteFlag;

    /** 请求参数集合 */
    private List<DataSetParamDto> dataSetParamDtoList;

    /** 数据转换集合 */
    private List<DataSetTransformDto> dataSetTransformDtoList;

    /** 传入的自定义参数*/
    private Map<String, Object> contextData;

    private Set<String> setParamList;

    /**指定字段*/
    private String fieldLabel;

    /**
     * http接口
     */
    private String apiUrl;
    /**
     * 方法get、post
     */
    private String method;
    /**
     * 请求头
     */
    private String header;
    /**
     * 请求体
     */
    private String body;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSetCode() {
        return setCode;
    }

    public void setSetCode(String setCode) {
        this.setCode = setCode;
    }

    public String getSetName() {
        return setName;
    }

    public void setSetName(String setName) {
        this.setName = setName;
    }

    public String getSetDesc() {
        return setDesc;
    }

    public void setSetDesc(String setDesc) {
        this.setDesc = setDesc;
    }

    public String getSetType() {
        return setType;
    }

    public void setSetType(String setType) {
        this.setType = setType;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public String getDynSentence() {
        return dynSentence;
    }

    public void setDynSentence(String dynSentence) {
        this.dynSentence = dynSentence;
    }

    public String getCaseResult() {
        return caseResult;
    }

    public void setCaseResult(String caseResult) {
        this.caseResult = caseResult;
    }

    public String getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(String enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public List<DataSetParamDto> getDataSetParamDtoList() {
        return dataSetParamDtoList;
    }

    public void setDataSetParamDtoList(List<DataSetParamDto> dataSetParamDtoList) {
        this.dataSetParamDtoList = dataSetParamDtoList;
    }

    public List<DataSetTransformDto> getDataSetTransformDtoList() {
        return dataSetTransformDtoList;
    }

    public void setDataSetTransformDtoList(List<DataSetTransformDto> dataSetTransformDtoList) {
        this.dataSetTransformDtoList = dataSetTransformDtoList;
    }

    public Map<String, Object> getContextData() {
        return contextData;
    }

    public void setContextData(Map<String, Object> contextData) {
        this.contextData = contextData;
    }

    public Set<String> getSetParamList() {
        return setParamList;
    }

    public void setSetParamList(Set<String> setParamList) {
        this.setParamList = setParamList;
    }

    public String getFieldLabel() {
        return fieldLabel;
    }

    public void setFieldLabel(String fieldLabel) {
        this.fieldLabel = fieldLabel;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
